﻿namespace XieCan.Core.DTO
{
  /// <summary>
  /// 基础视图模型
  /// </summary>
  public partial class BaseModel
  {
    /// <summary>
    /// 唯一编号
    /// </summary>
    public Guid? Id { get; set; }

    /// <summary>
    /// 创建者Id
    /// </summary>
    public Guid? CreatorId { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }

    /// <summary>
    /// 是否删除
    /// </summary>
    public bool? IsDeleted { get; set; }

    /// <summary>
    /// 删除者Id
    /// </summary>
    public Guid? DeletorId { get; set; }

    /// <summary>
    /// 删除时间
    /// </summary>
    public DateTime? DeleteTime { get; set; }
  }

  /// <summary>
  /// 基础查询列表模型
  /// </summary>
  public class BaseListModel : BaseModel
  {

  }

  /// <summary>
  /// 基础查询单例模型
  /// </summary>
  public class BaseSingleModel : BaseModel
  {

  }

  /// <summary>
  /// 基础添加模型
  /// </summary>
  public class BaseCreateModel
  {
    /// <summary>
    /// 创建者Id
    /// </summary>
    public Guid? CreatorId { get; set; }
  }

  /// <summary>
  /// 基础修改模型
  /// </summary>
  public class BaseUpdateModel
  {

  }
}
